﻿@model CharacterCreation.Business.ViewModels.VMDexterity

@{
    ViewBag.Title = "Create";
}

<h2>Create @Model.Title</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        
        @Html.HiddenFor(model => model.Id)

        <dl>
            <hr />

            <dt>@Html.LabelFor(model => model.Level)</dt>
            <dd>@Html.EditorFor(model => model.Level)</dd>
            
            <hr />
            
            <dt>@Html.LabelFor(model => model.InitiativeModifier)</dt>
            <dd>@Html.EditorFor(model => model.InitiativeModifier)</dd>

            <hr />
            
            <dt>@Html.LabelFor(model => model.CombatPenalty)</dt>
            <dd>@Html.EditorFor(model => model.CombatPenalty)</dd>
            
            <hr />
            
            <input type="submit" value="Save" />
        </dl>
        
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
